package atguigu.file;

public class FileCandidate1 implements FileCandidate{
    @Override
    public String[] candidateFileNames(String fileName) {
        String[] split = fileName.split("-");
        for (int i = 0; i < split.length; i++) {
            System.out.println(i+":"+split[i]);
        }
        return split;
    }
}
